#include "ResourceHeapAllocationManager.h"

ID3D12Resource* Bonnie::ResourceHeapAllocationManager::allocate(const D3D12_RESOURCE_DESC* pDesc, D3D12_RESOURCE_STATES initialState)
{
    
    mpBestFitAllocator->Allocate(0000000000);
    ID3D12Resource* resource;
    md3dDevice->CreatePlacedResource(mHeap.Get(),
        0,
        pDesc,
        initialState,
        nullptr,
        IID_PPV_ARGS(&resource)
    );

    return resource;
}
